﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="insertcompany.aspx.cs" Inherits="ProjectSem3.Admin.WebForm15" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $('#form1').validate({
            rules: {
                <%=companyname.UniqueID %>: {
                    required: true
                },
                <%=phone.UniqueID %>: {
                    required: true,
                    minlength: 8,
                    maxlength: 15
                },
                <%=address.UniqueID %>: {
                    required: true
                },
                <%=companyurl.UniqueID %>: {
                    url: true,
                    required: true
                }
        }
    });
});
</script>
<div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all form-container">
							<div class="portlet-header ui-widget-header">
                            <span class="ui-icon ui-icon-circle-arrow-s"></span><a href="Company.aspx" style="color:#FFF;">Company Manager <<< </a></div>
							<div class="portlet-content">
									<ul style="margin:0 0 0 250px;">
                                        <li>
                                            <asp:Label ID="Label5" runat="server" Text="Company Name"></asp:Label>
											<div>
												<input runat="server" id="companyname" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:29px;" />
											</div>
										</li>
                                        <li>
                                            <asp:Label ID="Label6" runat="server" Text="Phone"></asp:Label>
											<div>
												<input runat="server" id="phone" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:79px;" />
											</div>
										</li>
										<li>
                                            <asp:Label ID="Label1" runat="server" Text="Address"></asp:Label>
											<div>
												<input runat="server" id="address" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:68px;" />
											</div>
										</li>
										<li>
                                            <asp:Label ID="Label2" runat="server" Text="URL"></asp:Label>
											<div>
												<input runat="server" id="companyurl" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:88px;" />												
											</div>
										</li>
                                        <li>
                                            <asp:Label ID="Labelkq" runat="server" ForeColor="Red" style="margin-left:110px; font-size:15px;"></asp:Label>
                                        </li>	
										<li class="buttons">
                                            <asp:Button ID="ButtonInsert" runat="server" Text="Insert" 
                                                style="margin-left:100px;" onclick="ButtonInsert_Click" />
										</li>
									</ul>
							</div>
		</div>
</asp:Content>
